package com.northpool.operator.http.bean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "progressApi")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProgressApi {
    @XmlElement(
            name = "url"
    )
    String url;
    @XmlElement(
            name = "method"
    )
    RequestMethodEnum method;
    @XmlElement(
            name = "timeout"
    )
    Long timeout;
    @XmlElement(
            name = "exp"
    )
    String exp;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public RequestMethodEnum getMethod() {
        return method;
    }

    public void setMethod(RequestMethodEnum method) {
        this.method = method;
    }

    public Long getTimeout() {
        return timeout;
    }

    public void setTimeout(Long timeout) {
        this.timeout = timeout;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }
}
